From ed53ebb260109ab31cac84628310594b81a9ccf1 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Sun, 3 Sep 2006 14:00:19 +0000 Subject: [PATCH] (quail-defrule-internal): Add a check if a key is a vector. --- lisp/international/quail.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/international/quail.el b/lisp/international/quail.el index b21d2623d80..fceebf64f22 100644 --- a/lisp/international/quail.el +++ b/lisp/international/quail.el @@ -1095,7 +1095,7 @@ Optional 5th arg DECODE-MAP is a Quail decode map. Optional 6th arg PROPS is a property list annotating TRANS. See the function `quail-define-rules' for the detail." - (if (null (stringp key)) + (if (not (or (stringp key) (vectorp key))) (error "Invalid Quail key `%s'" key)) (if (not (or (numberp trans) (stringp trans) (vectorp trans) (consp trans) -- 2.30.2